<div>
    <ol class="breadcrumb" >
        <li> <i class="fa fa-anchor"></i>
            &nbsp;预约记录管理
        </li>
        <li>记录统计</li>
        <li style="float: right"><a  href="javascript:history.go(-1);">返回</a></li>
    </ol>
    <div class="panel">
        <div class="panel-heading" >
            <i class="fa fa-list"></i>
            &nbsp;&nbsp;统计信息表 　　　　总计&nbsp;&nbsp;<i class="fa fa-map-marker">&nbsp;{$sumBespeak}</i>
        </div>
        <form class="search-form" action={:U("Statistics/bespeak_statis")} method="get">
            <div class="panel-body search-panel-body retract"  >
                <div class="col-xs-3 search-col">
                    <div class="input-group">
                        <span class="input-group-addon">按月选择</span>
                        <input type="text" class="form-control  form_month1" placeholder="点击选择" name="month" value="{$_GET['month']}"  data-date-format="yyyy-mm" data-link-format="yyyy-mm">
                    </div>
                </div>
                <div class="col-xs-6 search-col retract">
                    <div class="input-group">
                        <span class="input-group-addon">时间段</span>
                        <input type="text" class="form-control required form_month" placeholder="点击选择" name="start_time" value="{$_GET['start_time']}"  data-date-format="yyyy-mm-dd" data-link-format="yyyy-mm-dd">
                        <span class="input-group-addon">~~</span>
                            <input type="text" class="form-control required form_month" placeholder="点击选择" value="{$_GET['end_time']}" name="end_time"  data-date-format="yyyy-mm-dd" data-link-format="yyyy-mm-dd">
                    </div>          
                </div>
                <div class="col-xs-2 search-col">
                    <button  type="submit" class="btn btn-warning">
                        <i class="fa fa-search"></i>
                        &nbsp;搜索
                    </button>
                </div>
                </div>
            </div>    
        </form>
        <table  class="table table-bordered table-striped table-mcit" >
            <thead>
            <tr>
                <th width="5%">
                    <button class='btn btn-block btn-mcit'>ID</button>
                </th>
                <th>
                    <button class='btn btn-block btn-mcit'>记录时间</button>
                </th>
                <th>
                    <button class='btn btn-block btn-mcit'>预约总次数</button>
                </th>
                <!-- <th>
                    <button class='btn btn-block btn-mcit'>备用</button>
                </th> -->
            </tr>
            </thead>
            <tbody id="DataTableContent">
            <empty name="bespeak">
                <td colspan="99" style="text-align:center" class="danger"> <strong><i class="fa fa-meh-o"></i>
                    &nbsp;&nbsp;当前条件下没有数据</strong>
                </td>
                <else />
                <volist name="bespeak" id="data">
                    <tr>
                        <td>{$data.id}</td>
                        <td>{$data.currentTime}</td>
                        <td>{$data.total}</td>
                        <!-- <td>{$data.region_text}</td> -->
                    </tr>
                </volist>
            </empty>
            <tr>
                <td colspan="99" style="text-align:center">
                    <ul class="pagination">{$pageView}</ul>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
<import type='css' file="css.datetimepicker" />
<import file="js.bootstrap-datetimepicker#min" />
<import file="js.bootstrap-datetimepicker#zh-CN" />
<import file="js.maskedinput" />
<script type="text/javascript">
    $(document).ready(function () {

        $(".form_month").datetimepicker({
            language: 'zh-CN',
            autoclose: true,
            startView:'month',
            minView: 'month',
            todayBtn: true,
            viewSelect: 'year',
            pickerPosition: "bottom-left"
        });

        $(".form_month1").datetimepicker({
            language: 'zh-CN',
            autoclose: true,
            startView:'year',
            minView: 'year',
            todayBtn: false,
            viewSelect: 'year',
            pickerPosition: "bottom-left"
        });

    });
</script>